package com.suray.system.run.data.mysql.device.battery;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.system.run.core.LowBatteryDescription;
import com.suray.system.run.data.mysql.device.entity.LowBatteryDB;

import java.util.Date;
import java.util.List;

public interface LowBatteryDBService extends IService<LowBatteryDB> {
    /**
     * 查找当前低电量信息
     * @param series
     * @return
     */
    LowBatteryDB findLowBatteryDBBySeries(String series);

    /**
     * 获取小车所有低电量信息
     * @param startTime
     * @param endTime
     * @return
     */
    public List<LowBatteryDB> getLowBatteryInfoList(String series, Date startTime, Date endTime);
}
